<?php

class UserTable extends Doctrine_Table
{
  public function getWithRoles()
  {
	$q = $this->createQuery('u')
	  ->leftJoin('u.Role r') ;    
	return $q->execute();  
  }
}